package ais.dcproject.bean;

import java.util.List;

import ais.dcproject.dao.DropListDao;
public class DepartmentBean {
	private DropListDao dropListDao;
//	private Department[] departments;

	public void setDropListDao(DropListDao dropListDao) {
		this.dropListDao = dropListDao;
	}
	
	public List getDepartments(){
		List departmentList = dropListDao.queryAllDepartments();
		return departmentList;
	}
}
